class CreateNotes < ActiveRecord::Migration
  def self.up
    create_table :notes do |t|
      t.column :todo_id, :integer, :null => false
      t.column :update_time, :time       
      t.column :content, :string      
    end
  end
  
  def self.down
    drop_table :notes
  end
end
